Measuring Coupling in Aspect-Oriented Systems

نویسنده

  • Jianjun Zhao
چکیده

Coupling is an internal software attribute that can be used to indicate the degree of interdependence among the components of a software system. Coupling is thought to be a desirable goal in software construction, leading to better values for external attributes such as maintainability, reusability, and reliability. Aspect-oriented software development (AOSD) is a new technique to support separation of concerns in software development. In aspect-oriented (AO) systems, the basic components are aspects or classes, which consist of attributes (aspect or class instance variables) and those modules such as advice, intertype declarations, pointcuts, and methods. Thus, in AO systems, the coupling is mainly about the degree of interdependence among aspects and/or classes. To test this hypothesis, good coupling measures for AO systems are needed. In this paper, we propose a coupling measure suite for assessing the coupling in aspect-oriented systems. We first present a coupling framework for AO systems which specially designed to count the dependencies between aspects and classes in the systems. Based on this framework, we formally define various coupling measures in terms of different types of dependencies between aspects and classes. We also discuss the mathematical properties of these measures.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Cohesion and coupling measures for aspect oriented systems

Software metrics aim to measure the inherent complexity of software systems with a view toward predicting the overall project cost and evaluating the quality and effectiveness of the design. Aspect Oriented Software design is an emerging paradigm that provides new mechanisms to support the modularization of concerns, which otherwise would crosscut the OO system decomposition. There are various ...

متن کامل

A Coupling Framework for AspectJ

Aspect-oriented programming and in particular AspectJ as its predominant implementation has received an increasing amount of attention by the measurement community. Lately, new measures have been suggested that focus on aspect-oriented core concepts, including several measures for coupling in aspectoriented systems. However, these measures use different terminologies and lack a clear design goa...

متن کامل

Degree of Coupling and Cohesion in Object Oriented Programming

Many coupling and cohesion measures have been introduced in various surveys to identify and measure the design complexity of object oriented systems. A large numbers of metrics have been built and proposed for measuring properties of object-oriented software such as size, inheritance, cohesion and coupling. The coupling is an important aspect in the evaluation of reusability and maintainability...

متن کامل

Adaptability metric for adaptation of the dynamic changes

Adapting dynamic changes in the user needs or in the environment is considered as one of the important quality attributes of a system in the pervasive or ubiquitous environment. An aspect-oriented framework to modularize the dynamic changes using aspects is considered as a solution for creating dynamic adaptable systems. This framework allows the system to reflect the dynamic changes on the ass...

متن کامل

Metrics for Measuring Change Impacts in AspectJ Software Maintenance and Reuse

Software metrics play an important role in software development, project management, and system maintenance tasks. They can be used to indicate the degree of system interdependencies among the components and provide valuable feedbacks for better reusability, maintainability and reliability. During system evolution, software change is an essential operation. When software functionalities are add...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004